package com.threeti.mecool.legacy.domain.model.basicdata;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/** 国家行政区划(遗留) */
@Entity
@Table(name = "MD_ADMIN_DIV")
public class AdminDivisionLegacy implements Serializable {
  @Id
  @Column(name="AD_ID")
  private Long id;
  
  @Column(name="DEEP")
  private int deep;
  
  @Column(name="AD_NAME")
  private String name;
  
  @Column(name="CITY_AD_NAME")
  private String parentCityAdName;
  
  @Column(name="PROVINCE_AD_NAME")
  private String parentProvinceAdName;

  public Long getId() {
    return id;
  }

  public int getDeep() {
    return deep;
  }

  public String getName() {
    return name;
  }

  public String getParentCityAdName() {
    return parentCityAdName;
  }

  public String getParentProvinceAdName() {
    return parentProvinceAdName;
  }

  @Override
  public String toString() {
    return "AdminDivisionLegacy [id=" + id + ", deep=" + deep + ", name=" + name + ", parentCityAdName=" + parentCityAdName
        + ", parentProvinceAdName=" + parentProvinceAdName + "]";
  }
  
  
}
